import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        isMobile: true,
    },
    mutations: {
        setisMobile(state, isMobile) {
            state.isMobile = isMobile
        },
      
    },
    actions: {
        getisMobile(context) {
            context.commit('setisMobile')
        },
    }
});